﻿using BLLTarasca;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Tarasca.Models;

namespace Tarasca.Controllers
{
    [Authorize]
    public class CuentasController : BaseController
    {
        public ActionResult Index()
        {
            CuentasModel model = new CuentasModel();
            model.IdCuenta = new BLLCuenta().TraerCuentaPorDefecto(User.Identity.Name).IdCuenta;
            return View(model);
        }

    }
}
